home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / INFO / PCCDEMO.ZIP / COMP1.EXE / BOOT.PRS < prev    next >
Text File  |  1993-12-20  |  9KB  |  151 lines

  1.                                      åêòêìå ÿÄöæ Åé Ç üÄÄô ╬╠╬╠╬╠╬╠╧╧╬╠╬╠╬╠╡
  2.                                    
  3.                                    │     Boot  disks.   You   know  the
  4.                                    │  things. They  came  with  your PC
  5.          ≤τΣ τ⌠∞ßδΣ                │  when you bought it.
  6.      ▄▄▄   ▄▄   ▄▄  ▄▄▄▄           │     If you don't have a hard drive
  7.      █▄▄▀ █  █ █  █  ▐▌            │  (and not many  people don't these
  8.      █▄▄▀ ▀▄▄▀ ▀▄▄▀  ▐▌            │  days), then  you still  use it to
  9.       ▄▄▄  ▄  ▄▄▄ ▄  ▄             │  start your  machine  up,  but for
  10.       █  █ █ ▀▄▄  █▄▀              │  the vast  majority  of  you, they
  11.       █▄▄▀ █ ▄▄▄▀ █ ▀▄             │  get stuck in  a box and forgotten
  12.                                    │  about.  Until  that  dreaded  day
  13.                                    │  when your hard  drive fails, or a
  14.                                    │  virus  strick's  or  some similar
  15.        ß√ ∩Σ≤Σ Γαδ⌡Σ±≤             │  catastrophe  sends  you searching
  16.      University of Adelaide        │  through your  disk collection for
  17.                                    │  it so  that  you  can  rescue all
  18.                                    │  your work.
  19.  " φΣ⌡Σ±  ßεε≤ εσ α σδε∩∩√ ÷τε≥Σ   │
  20.    τΦ≥≤ε±√ √ε⌠ α±Σ ⌠φα÷α±Σ εσ. "   │     There also comes a time in the
  21.                                    │  computing  life  of  all  but the
  22.                                    │  most  unadventurous PC users when
  23.          
  24.  
  25. you want  to  fiddle  around with  │     Then  there  are  other people
  26. your   PC's    autoexec.bat   and  │  who  have   several  versions  of
  27. config.sys files.  Fine! It's fun  │  their  startup   files  and  will
  28. and you  can really  enhance your  │  rename  the  appropriate  ones to
  29. PC's performance if you know what  │  config.sys and  autoexec.bat when
  30. you are doing.                     │  they   require   that   their  PC
  31.    Unfortunately    most   people  │  functions in a particular way.
  32. don't  fully  understand  all the  │     σε±  αφ  Σ≈α∞∩δΣ,  ≥ε∞Σ≤Φ∞Σ≥ Φ
  33. ins and  outs of  DOS programming  │  ÷αφ≤  ≤ε  ΓεφφΣΓ≤  ≤ε  α φΣ≤÷ε±Ω,
  34. and  can  turn  out  a  couple of  │  ≥ε∞Σ≤Φ∞Σ≥  Σ∞⌠δα≤Σ≈∩αφπΣπ ∞Σ∞ε±√,
  35. system files that  not only won't  │  ≥ε∞Σ≤Φ∞Σ≥ ≥Σ≤ ⌠∩ α ±α∞ π±Φ⌡Σ, αφπ
  36. improve       your       system's  │  ≥ε∞Σ≤Φ∞Σ≥  ΓταφµΦφµ  ≤τΣ  Γε∞∞αφπ
  37. performance, they  might actually  │  ≥τΣδδ ≤τα≤ Φ ε∩Σ±α≤Σ Φφ.
  38. prevent   it   from   booting  up  │
  39. altogether. A quick control-c can  │     α  ≥εδ⌠≤Φεφ   ≤ε  ∞αΩΦφµ  ßε≤τ
  40. sometimes  rectify  the  problem,  │  ≤τΣ≥Σ ≤α≥Ω≥ Σα≥ΦΣ±  Φ≥ ≤τΣ τ⌠∞ßδΣ
  41. giving you the opportunity to fix  │  ßεε≤ πΦ≥Ω.  In fact,  there are a
  42. them up again, but wouldn't it be  │  growing  number  of  games  these
  43. nicer   to    have   some   added  │  days   that    require   a   PC's
  44. insurance.                         │  resources   be   set   up   in  a
  45.  
  46.  
  47. particular way  so that  they can  │  The first  one  is  the  one that
  48. be played - and have a "make boot  │  came  with  your   PC,  with  the
  49. disk"   option   to   create  the  │  original  settings,  or,  failing
  50. appropriate     config.sys    and  │  that,  a   boot  disk   with  the
  51. autoexec.bat files  that  will do  │  minimum number  of bits  to it to
  52. just that (plus launch the game).  │  get the machine  to boot up. This
  53.                                    │  disk  can  be  used  in  a larger
  54.    But,  I  hear  you  say,  boot  │  variety of PCs  (if you have more
  55. disks take  longer  to  boot from  │  than  one,  or  are  using  other
  56. than from a hard drive. True. But  │  people's machine's  -  with their
  57. if     the     config.sys     and  │  permission  of  course),  and can
  58. autoexec.bat files  are short and  │  easily be  a  starting  point for
  59. simple  then   the   time  saving  │  developing  new   config.sys  and
  60. gained by not having to edit your  │  autoexec.bat files.
  61. hard disk's  copy of  these files  │
  62. more  than   outweighs  any  time  │     ≤ε  ≤±αφ≥σε±∞  α  πΦ≥Ω  Φφ≤ε α
  63. saving in speed of disk access.    │  ßεε≤⌠∩-πΦ≥Ω, you  simply  place a
  64.                                    │  formated disk (preferably new, to
  65.    Φ  ≥⌠µµΣ≥≤  ≤τα≤  √ε⌠  τα⌡Σ α≤  │  insure  it  is  virus  free), and
  66. δΣα≥≤ ≤÷ε ßεε≤ πΦ≥Ω≥.              │  then issuing the SYS command:
  67.  
  68.  
  69.                                    │     The  above  files  are,  as  I
  70.    SYS A:                          │  said,  very  basic.  Loading  Dos
  71.                                    │  into  high  memory,  running  the
  72. (this  copies  the  system  files  │  HIMEM memory  manager and setting
  73. needed for boot-up to the disk in  │  up   a   temp   directory  aren't
  74. drive A:)                          │  included.    With     a    little
  75.    You are  left  with  a boot-up  │  adjustment   according   to  what
  76. disk, you may wish to leave it at  │  version of DOS  you are using you
  77. that, however,  you can configure  │  should come  up  with a  basic no
  78. your   system   by   creating   a  │  frills set of  files. Have a look
  79. CONFIG.SYS  and  AUTOEXEC.BAT  on  │  at your dos manual for details on
  80. the disk  - can  be done  using a  │  each bootup option.
  81. simple editor.  An  example  of a  │     Write  protecting  the  system
  82. very    basic    config.sys   and  │  disk is  essential. If  your hard
  83. autoexec.bat is shown here.        │  drive is  infected with  a virus,
  84.                                    │  your only  hope  of  stopping the
  85. ΓεφσΦµ.≥√≥           α⌠≤εΣ≈ΣΓ.ßα≤  │  infection from  spreading,  is to
  86. buffers=10           prompt $p$g   │  reboot of a clean system disk. In
  87. files=30             path=c:\dos   │  the next  issue  we will  look at
  88.                                    │  virus detection and prevention.
  89.  
  90.  
  91.                                    │     Your collection  of boot disks
  92.    The second  set  of  disks, is  │  can grow when  you discover other
  93. that  of   your   current  system  │  boot requirements,  making  a new
  94. files. If you want to muck around  │  boot disk for each config.sys and
  95. with different  settings: install  │  autoexec.bat   combination   that
  96. a  RAM  drive,  emulate  expanded  │  will be  used in  the future (and
  97. memory, change  the command shell  │  don't forget  to comment  it with
  98. etc. then  you  have a  backup of  │  remarks).
  99. your boot files  in case anything  │     DOS 6  users can  set up their
  100. goes  wrong.  You  don't  have to  │  system to  give them  a choice of
  101. remember  what  the  files looked  │  configurations   to    boot   the
  102. like before you started tampering  │  machine   with   (ie:   a  choice
  103. with them, you have them on disk.  │  between a number  of config.sys &
  104. Liberally  sprinkling  your files  │  autoexec.bat on  bootup). We will
  105. with rem statements  is also good  │  show you  another alternative for
  106. idea,  particularly   if  someone  │  multi-autoexec.bat bootup for any
  107. with less DOS  knowledge than you  │  Dos version in the next edition.
  108. is trying to  understand how your  │
  109. files work.                        │     Its not  a  bad idea  to clear
  110.                                    │  your root  directory  of  all but
  111.  
  112.  
  113. the  system  files  (hidden  .sys  │  to determine  why  your  PC isn't
  114. files       plus      config.sys,  │  working the way that it should.
  115. autoexec.bat   and   command.com)  │
  116. plus any special batch files that  │     Keep in  mind  that  you might
  117. can't    be    squirrelled   away  │  also want to have your boot disks
  118. elsewhere.                         │  on different  size  floppies too.
  119.    Your  boot  disk  can  then be  │  While most  PCs  now have  a 3.5"
  120. copied  to  c:\  (thus  replacing  │  high density disk  drive as drive
  121. config.sys,         autoexec.bat,  │  A:,  some  older  PCs  still have
  122. command.com   and   any   of  the  │  only double  density  drives, and
  123. special purpose  batch  files) in  │  others have 5.25"  drives for A:.
  124. preparation for a  fast reboot to  │  Definitely not  the most exciting
  125. the required setup.                │  disks  in  your  collection, they
  126.                                    │  will  certainly  be  some  of the
  127.    It also makes  it a lot easier  │  most valuable,  especially if the
  128. to show  others how  you have set  │  wheels fall off. And lets hope it
  129. up your PC for a particular task.  │  never happens.
  130. Just  copy  your  boot  disk  for  │
  131. them. This is a positive boon for  │     A point in closing. φΣ⌡Σ± ßεε≤
  132. tech support when they are trying  │  εσ α  σδε∩∩√  ÷τε≥Σ  τΦ≥≤ε±√ √ε⌠
  133.  
  134.  
  135. α±Σ  ⌠φα÷α±Σ  εσ.  You  could  be  │
  136. putting  a  virus   on  your  PC.  │
  137. Putting  a   virus  scanner  (and  │
  138. there are  plenty around)  on one  │
  139. of your  "clean"  boot  disks and  │
  140. checking periodically for viruses  │
  141. can save a  lot of heartache. You  │
  142. owe it  to yourself  to keep your  │
  143. PC running as it should, clean of  │
  144. "diseases" and able to be rescued  │
  145. should things go wrong.            │
  146.                                    │
  147. And one last  thing. Don't forget  │
  148. to write protect  your boot disks  │
  149. either. It's a small price to pay  │
  150. for peace of mind ñ                │
  151.